﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EnemyRocket : Enemy
{
	EnemyBullet bullet;
	protected override void Start() {
		base.Start();
		bullet = transform.GetChild(0).GetComponent<EnemyBullet>();
		SetIniAttributes(4, 4, 3, EnemyType.EnemyRocket);
	}

	/// <summary>
	/// 这里为子弹发射
	/// </summary>
	/// <param name="hurt"></param>
	public void RocketShoot() {
		bullet.SetIniAttributes(this);
	}

}
